<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>DMA Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch08.html" title="Chapter 8.  Serial Drivers"><link rel="prev" href="ch08s07.html" title="Receive Functions"><link rel="next" href="ch08s09.html" title="Support Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
				DMA Functions
				</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s07.html">Prev</a> </td><th width="60%" align="center">Chapter 8. 
		Serial Drivers
		</th><td width="20%" align="right"> <a accesskey="n" href="ch08s09.html">Next</a></td></tr></table><hr></div><div class="section" title="DMA Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qcaspi6"></a>
				DMA Functions
				</h2></div></div></div><div class="section" title="qcaspi_dma_read_burst"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_dma_read_burst"></a>
				qcaspi_dma_read_burst
				</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">uint32_t <b class="fsfunc">qcaspi_dma_read_burst</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">buffer</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">length</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>uint8_t * <var class="pdparam">buffer</var></code>;<br><code>uint32_t <var class="pdparam">length</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
				Performs QCA7000 DMA burst read.
				</p></div><div class="section" title="qcaspi_dma_read_legacy"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_dma_read_legacy"></a>
				qcaspi_dma_read_legacy
				</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">uint32_t <b class="fsfunc">qcaspi_dma_read_legacy</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">buffer</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">length</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>uint8_t * <var class="pdparam">buffer</var></code>;<br><code>uint32_t <var class="pdparam">length</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
				Performs QCA7000 DMA legacy read.
				</p></div><div class="section" title="qcaspi_dma_write_burst"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_dma_write_burst"></a>
				qcaspi_dma_write_burst
				</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">uint32_t <b class="fsfunc">qcaspi_dma_write_burst</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">buffer</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">length</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>uint8_t * <var class="pdparam">buffer</var></code>;<br><code>uint32_t <var class="pdparam">length</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
				Called by <code class="function">qcaspi_tx_frame</code> to peform a DMA burst write instead of a legacy write.
				</p></div><div class="section" title="qcaspi_dma_write_legacy"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_dma_write_legacy"></a>
				qcaspi_dma_write_legacy
				</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">uint32_t <b class="fsfunc">qcaspi_dma_write_legacy</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">buffer</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">length</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>uint8_t * <var class="pdparam">buffer</var></code>;<br><code>uint32_t <var class="pdparam">length</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
				Called by <code class="function">qcaspi_tx_frame</code> to peform a DMA legacy write instead of a burst write.
				</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s07.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch08s09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
				Receive Functions
				 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
				Support Functions
				</td></tr></table></div></body></html>
